package com.mark.web.data.controller.backend;

import com.mark.common.ServerResponse;
import com.mark.web.data.service.IStatisticService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;


/**
 * @Description: 后台数据统计控制器.
 * @Author: Mark
 * @CreateDate: 2018/8/14.
 * @Version: 2.0
 * @Copyright : 豆浆油条个人非正式工作室
 */
@RequestMapping("/manage/statistic/")
@RestController
public class StatisticManageController {
    @Autowired
    private IStatisticService iStatisticService;

    @PostMapping(value = "base_count.do")
    public ServerResponse getCampusData(){
        return iStatisticService.getCampusData();
    }
}
